package com.ljm.boot.seataorder.feign;

import com.ljm.boot.Utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(name = "seata-orderDetails", url = "http://127.0.0.1:9002")
public interface OrderDetailsFeignClient {
    
    @PostMapping("/orderDetails")
    R createOrderDetails(@RequestBody Map<String, Object> param);
}